<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>添加设备</title>
	<meta name="decorator" content="default"/>
    <script type="text/javascript">
        $(document).ready(function() {
            closeLoading();
        });
    </script>
</head>
<body>
	<ul class="nav nav-tabs">
        <li class="active"><a href="javascript:void(0);">添加设备</a></li>
	</ul><br/>
    <div class="page-header">
        <h1>
            <c:if test="${result == 'success' && operation == 'add'}">
                <c:if test="${equipment.delFlag == 0}">
                    已成功创建设备!
                </c:if>
                <c:if test="${equipment.delFlag != 0}">
                    添加设备的申请已发起，请等待审批!
                </c:if>
            </c:if>
            <c:if test="${result == 'fail'}">
                您添加的设备出现异常,请联系管理员!
            </c:if>
            <c:if test="${result == 'success' && operation == 'edit'}">
            设备信息已修改成功
            </c:if>
            <br/>
        </h1>
    </div>
</body>
</html>